<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
class PHPExcel_Chart_PlotArea
{
    private $layout;
    private $plotSeries = [];
    public function __construct(PHPExcel_Chart_Layout $layout = NULL, $plotSeries = [])
    {
        $this->layout = $layout;
        $this->plotSeries = $plotSeries;
    }
    public function getLayout()
    {
        return $this->layout;
    }
    public function getPlotGroupCount()
    {
        return count($this->plotSeries);
    }
    public function getPlotSeriesCount()
    {
        $seriesCount = 0;
        foreach ($this->plotSeries as $plot) {
            $seriesCount += $plot->getPlotSeriesCount();
        }
        return $seriesCount;
    }
    public function getPlotGroup()
    {
        return $this->plotSeries;
    }
    public function getPlotGroupByIndex($index)
    {
        return $this->plotSeries[$index];
    }
    public function setPlotSeries($plotSeries = [])
    {
        $this->plotSeries = $plotSeries;
        return $this;
    }
    public function refresh(PHPExcel_Worksheet $worksheet)
    {
        foreach ($this->plotSeries as $plotSeries) {
            $plotSeries->refresh($worksheet);
        }
    }
}

?>